from autohome.management.commands.run_spider import RunSpiderCommand
from crawler.spiders.bitool.coin_market import Exchange


class Command(RunSpiderCommand):
    help = 'run spider'
    name = Exchange.name
    is_redis_running = False

    def get_spiders(self):
        spiders = [Exchange]
        return spiders
